'use strict';

const Controller = require('egg').Controller;

class ArticleController extends Controller {
	async index() {
		//在 koa 中
		//  ctx.body = '你好 article'
		const list = await this.service.admin.user.list({
			currentPage1: 2,
			pageNumber : 2
		});
		this.ctx.success(list);
	}
}

module.exports = ArticleController;
